package com.prs.crm.domain.cdxh;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;

/**
 * @author LanXiaoGang
 * @E-mail:lan9liang@163.com
 * @qq:7857553326
 * @version 创建时间：2010-12-13 下午05:44:05 简单说明
 */
@Entity
@Table(name = "cdxh_StockPrecautionary")
public class StockPrecautionary extends BaseEntity {

	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;

	@ManyToOne
	private CrmCustomer crmcustomer; //客户信息
	
	/**
	 * 标题
	 */
	private String prTitle;

	/**
	 * 产品编号
	 */
	private String productCode;
	/**
	 * 产品名称
	 */
	private String productName;
	/**
	 * 产品预警下线
	 */
	private int productDownline;

	/**
	 * 产品预警上线
	 */
	private int productUpline;

	/**
	 * 数量
	 */
	private int productNum;
	

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getProductCode() {
		return productCode;
	}

	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public int getProductDownline() {
		return productDownline;
	}

	public void setProductDownline(int productDownline) {
		this.productDownline = productDownline;
	}

	public int getProductUpline() {
		return productUpline;
	}

	public void setProductUpline(int productUpline) {
		this.productUpline = productUpline;
	}

	public int getProductNum() {
		return productNum;
	}

	public void setProductNum(int productNum) {
		this.productNum = productNum;
	}

	public String getPrTitle() {
		return prTitle;
	}

	public void setPrTitle(String prTitle) {
		this.prTitle = prTitle;
	}

	public CrmCustomer getCrmcustomer() {
		return crmcustomer;
	}

	public void setCrmcustomer(CrmCustomer crmcustomer) {
		this.crmcustomer = crmcustomer;
	}

	

}
